package com.monster.starter.core.common;

import com.monster.exception.ExceptionEnum;
import lombok.Getter;

/**
 * @author kuang
 */
public enum MonsterExceptionEnum implements ExceptionEnum {
    /**
     * 核心异常
     */
    TIME_GAP_ERROR("CORE_1000", "请确保你的电脑处理正常的网络环境中,并和时钟服务器连接"),
    LIMIT_ERROR("LIMIT_ERROR", "系统繁忙，请稍后在试！")
    ;
    @Getter
    private String code;
    @Getter
    private String msg;
    MonsterExceptionEnum (String code, String msg) {
        this.code = msg;
        this.msg = msg;
    }
}
